package io.jpress.pro.attachment.minio;

import io.jboot.app.config.annotation.ConfigModel;
import io.jpress.JPressConsts;

/**
 * @author michael yang (fuhai999@gmail.com)
 */
@ConfigModel(prefix = "jpress.filecontainer.minio")
public class MinioAttachmentConfig {

    private boolean enable = false;
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketname;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getBucketname() {
        return bucketname;
    }

    public void setBucketname(String bucketname) {
        this.bucketname = bucketname;
    }

}
